package com.conference.repository;

import com.conference.entity.ConferenceUser;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface UserRepository extends JpaRepository<ConferenceUser, Long> {
    Optional<ConferenceUser> findByUsername(String username);
    Optional<ConferenceUser> findByEmail(String email);
} 